package ru.troyanov.Datchick.repositories;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import ru.troyanov.Datchick.models.Measurement;

import java.util.List;

@Repository
public interface MeasurementRepositories extends JpaRepository<Measurement, Integer> {
    List<Measurement> findAllByRain(boolean rain);
}
